<?php
	$filename = "sproducts/".$_GET['img'];
?>
<html>
<head>
<title><?=urldecode($_GET['imgn'])?></title>
<SCRIPT LANGUAGE="JavaScript">
<!--
	var maxh = window.screen.availHeight;
	var maxw = window.screen.availWidth;
	function resizeWin()
	{
		var h=document.all?document.body.scrollHeight:document.height;
		var w=document.all?document.body.scrollWidth:document.width;
		if (h>maxh) h=maxh-30;
		if (w>maxw) w=maxw;
		window.resizeTo(w,h+30);
		window.moveTo((maxw-w)/2,(maxh-(h+30))/2);
		// alert(h+"="+window.innerHeight);
	}

//-->
</SCRIPT>
</head>
<body  onload="resizeWin()" topmargin="0" bottommargin="0">
	<center> 
	<img src="<?=$filename?>" border=0 style="cursor:hand" onClick="javascript:window.close()"><br> 
</body>
</html>
